/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Engine2D.network;

import java.io.DataInputStream;


/**
 *
 * @author Garys
 */
public interface Protocol {

    /**
     * 
     * @param dataStream
     */
    public void processInput(DataInputStream dataStream);
    
    /**
     * 
     * @param data
     * @param sendAll
     */
    public void processOutput(String data, boolean sendAll);
}
